package com.gzx.plugin.tjzy.modular.phone.complaint.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.gzx.plugin.tjzy.modular.phone.complaint.bo.GzxComplaintPhoneAddBo;
import com.gzx.plugin.tjzy.modular.phone.complaint.bo.GzxComplaintPhoneQueryBo;
import com.gzx.plugin.tjzy.modular.phone.complaint.entity.GzxComplaintPhone;
import com.gzx.plugin.tjzy.modular.phone.complaint.vo.GzxComplaintPhoneVo;
import com.gzx.plugin.tjzy.modular.phone.dto.GzxPhoneStatusDto;
import com.gzx.plugin.tjzy.modular.phone.error.bo.GzxErrorPhoneAddBo;
import com.gzx.plugin.tjzy.modular.phone.error.bo.GzxErrorPhoneQueryBo;
import com.gzx.plugin.tjzy.modular.phone.error.vo.GzxErrorPhoneVo;
import org.springframework.web.multipart.MultipartFile;
import vip.xiaonuo.common.mvc.service.BaseService;

import java.util.List;

/**
 * @author zjt
 * @description
 * @since 2025/6/10 16:57
 */
public interface GzxComplaintPhoneService extends BaseService<GzxComplaintPhoneAddBo, GzxComplaintPhoneVo, GzxComplaintPhoneQueryBo> {

    /**
     * 查询投诉手机号
     *
     * @param lambdaQueryWrapper
     * @return
     */
    List<GzxComplaintPhone> selectList(LambdaQueryWrapper<GzxComplaintPhone> lambdaQueryWrapper);

    /**
     * 校验投诉手机号
     *
     * @param phoneList
     * @param userId
     * @param tenantId
     * @return
     */
    List<GzxPhoneStatusDto> verifyComplaint(List<String> phoneList, String userId, String tenantId);

    /**
     * 余额告警
     */
    void balanceWarn();

    //导入
    String importExcel(GzxComplaintPhoneAddBo bo, MultipartFile multipartFile);
}
